package com.anc.platform.model.platform.util;

import com.anc.platform.model.platform.entity.ScmLogisticsCompany;
import com.anc.platform.model.platform.model.vo.ScmLogisticsCompanyVO;


public class ScmLogisticsCompanyUtils {
    public static ScmLogisticsCompanyVO entityToScmLogisticsCompanyDTO(ScmLogisticsCompany scmLogisticsCompany) {
        if (scmLogisticsCompany == null) {
            return null;
        }
        ScmLogisticsCompanyVO scmLogisticsCompanyVO = new ScmLogisticsCompanyVO();
        scmLogisticsCompanyVO.setLogisticCompanyCode(scmLogisticsCompany.getLogisticCompanyCode());
        scmLogisticsCompanyVO.setLogisticCompanyName(scmLogisticsCompany.getLogisticCompanyName());

        return scmLogisticsCompanyVO;
    }
}
